// Test for "test.wiz" is to allow developers to bypass this protection
If not file('Test.wiz')
msgbox('Run RptToRep.Prg','Wrong File',16)
return
Endif
/* This code is used only for testing in design phase.
It instantiates inernationalization class
*/
f = new RptToRepForm()
f.oLang = New InternationalText(f)
f.oLang.SetUpStrings()
f.MDI = .f.
f.ReadModal()
** END HEADER -- do not remove this line
//
// Generated on 11/15/97
//
parameter bModal
local f
f = new RptToRepForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif
class RptToRepForm of FORM
with (this)
canClose = class::FORM_CANCLOSE
onOpen = class::FORM_ONOPEN
scaleFontSize = 8
scaleFontBold = false
metric = 6 // Pixels
height = 275
left = 154
top = 39
width = 444
text = "Report Conversion Wizard - Step 1 of 4"
autoCenter = true
mdi = false
moveable = false
escExit = false
maximize = false
minimize = false
endwith
this.LINE1 = new LINE(this)
with (this.LINE1)
left = 22
right = 421
top = 228
bottom = 229
width = 2
metric = 6 // Pixels
colorNormal = "N+"
pageno = 0
endwith
this.LINE2 = new LINE(this)
with (this.LINE2)
left = 21
right = 422
top = 227
bottom = 228
width = 2
metric = 6 // Pixels
colorNormal = "W+"
pageno = 0
endwith
this.INTROTEXT = new TEXT(this)
with (this.INTROTEXT)
height = 45
left = 139
top = 23
width = 280
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "<p>This Wizard will convert reports and labels written in Crystal 3.0 (.rpt,.rpl) to Visual dBASE 7 Report Classes (.rep, .lab).</p>"
endwith
this.BACKBUTTON = new PUSHBUTTON(this)
with (this.BACKBUTTON)
onClick = class::BACKBUTTON_ONCLICK
enabled = false
height = 20
left = 114
top = 241
width = 72
text = "Back"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.NEXTBUTTON = new PUSHBUTTON(this)
with (this.NEXTBUTTON)
onClick = class::NEXTBUTTON_ONCLICK
height = 20
left = 186
top = 241
width = 72
text = "Next"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.CANCELBUTTON = new PUSHBUTTON(this)
with (this.CANCELBUTTON)
onClick = class::CANCELBUTTON_ONCLICK
height = 20
left = 268
top = 241
width = 72
text = "Cancel"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.HELPBUTTON = new PUSHBUTTON(this)
with (this.HELPBUTTON)
onClick = class::HELPBUTTON_ONCLICK
height = 20
left = 350
top = 241
width = 72
text = "Help"
metric = 6 // Pixels
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 0
value = false
endwith
this.IMAGE1 = new IMAGE(this)
with (this.IMAGE1)
height = 13
left = 114
top = 25
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
borderStyle = 3 // None
endwith
this.DISCLAIMERTEXT = new TEXT(this)
with (this.DISCLAIMERTEXT)
height = 96
left = 138
top = 75
width = 280
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "Some commands and functions supported in Visual dBASE QBE queries do not translate directly into Visual dBASE 7 Data Classes. If this Wizard encounters any such problems, it will present a list on the last page. The same list will be embedded above the hea"
text += "der in the generated .rep or .lab file. You may have to adjust the generated file to match your original QBE."
endwith
this.IMAGE2 = new IMAGE(this)
with (this.IMAGE2)
height = 13
left = 114
top = 77
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
borderStyle = 3 // None
endwith
this.IMAGE3 = new IMAGE(this)
with (this.IMAGE3)
height = 100
left = 12
top = 15
width = 75
metric = 6 // Pixels
dataSource = "FILENAME Rpttorep.bmp"
alignment = 4 // True Size
pageno = 0
borderStyle = 3 // None
endwith
this.ENTERPATHTEXT = new TEXT(this)
with (this.ENTERPATHTEXT)
height = 42
left = 137
top = 27
width = 283
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "<p>Enter the path to the Crystal source file to be converted.</p><p></p>"
pageno = 2
endwith
this.IMAGE4 = new IMAGE(this)
with (this.IMAGE4)
height = 13
left = 124
top = 28
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 2
borderStyle = 3 // None
endwith
this.SOURCEPATHFIELD = new ENTRYFIELD(this)
with (this.SOURCEPATHFIELD)
onLostFocus = class::SOURCEPATHFIELD_ONLOSTFOCUS
onChange = class::SOURCEPATHFIELD_ONCHANGE
height = 20
left = 132
top = 76
width = 254
metric = 6 // Pixels
colorHighLight = ""
fontSize = 8
value = ""
maxLength = 255
pageno = 2
borderStyle = 7 // Client
endwith
this.TARGETPATHFIELD = new ENTRYFIELD(this)
with (this.TARGETPATHFIELD)
onLostFocus = class::TARGETPATHFIELD_ONLOSTFOCUS
onChange = class::TARGETPATHFIELD_ONCHANGE
height = 20
left = 133
top = 182
width = 254
metric = 6 // Pixels
colorHighLight = ""
fontSize = 8
value = ""
maxLength = 255
pageno = 2
borderStyle = 7 // Client
endwith
this.GETSOURCEFILEBUTTON = new PUSHBUTTON(this)
with (this.GETSOURCEFILEBUTTON)
onClick = class::GETSOURCEFILEBUTTON_ONCLICK
height = 20
left = 393
top = 76
width = 32
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 2
value = false
endwith
this.GETTARGETFILEBUTTON = new PUSHBUTTON(this)
with (this.GETTARGETFILEBUTTON)
onClick = class::GETTARGETFILEBUTTON_ONCLICK
height = 20
left = 394
top = 182
width = 32
text = ""
metric = 6 // Pixels
upBitmap = "RESOURCE #148"
fontSize = 8
group = true
colorNormal = "BtnText/BtnFace"
pageno = 2
value = false
endwith
this.SOURCEFILETEXT = new TEXT(this)
with (this.SOURCEFILETEXT)
height = 15
left = 137
top = 60
width = 183
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "Source Crystal Report or Label File"
pageno = 2
endwith
this.TARGETFILETEXT = new TEXT(this)
with (this.TARGETFILETEXT)
height = 17
left = 133
top = 163
width = 254
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "Target Visual dBASE 7 Report or Label File"
pageno = 2
endwith
this.REPORTRADIO = new RADIOBUTTON(this)
with (this.REPORTRADIO)
height = 20
left = 226
top = 185
width = 60
text = "Report"
metric = 6 // Pixels
colorNormal = "WindowText/BtnFace"
fontSize = 8
group = true
value = true
endwith
this.LABELRADIO = new RADIOBUTTON(this)
with (this.LABELRADIO)
height = 20
left = 295
top = 185
width = 50
text = "Label"
metric = 6 // Pixels
colorNormal = "WindowText/BtnFace"
fontSize = 8
group = false
value = false
endwith
this.SELECTTYPETEXT = new TEXT(this)
with (this.SELECTTYPETEXT)
height = 14
left = 138
top = 187
width = 72
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "Select Type"
endwith
this.PROBLEMTEXT = new TEXT(this)
with (this.PROBLEMTEXT)
height = 27
left = 148
top = 26
width = 280
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "The Report Conversion Wizard encountered the following problems converting your report or label:"
pageno = 4
endwith
this.IMAGE5 = new IMAGE(this)
with (this.IMAGE5)
height = 13
left = 124
top = 28
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 4
borderStyle = 3 // None
endwith
this.DISPLAYSOURCEFIELD = new ENTRYFIELD(this)
with (this.DISPLAYSOURCEFIELD)
when = {;return false}
height = 20
left = 139
top = 82
width = 273
metric = 6 // Pixels
colorNormal = "N+/W"
colorHighLight = ""
fontSize = 8
fontBold = true
value = ""
pageno = 3
borderStyle = 3 // None
endwith
this.DISPLAYTARGETFIELD = new ENTRYFIELD(this)
with (this.DISPLAYTARGETFIELD)
when = {;return false}
height = 20
left = 139
top = 127
width = 274
metric = 6 // Pixels
colorNormal = "N+/W"
colorHighLight = ""
fontSize = 8
fontBold = true
value = ""
pageno = 3
borderStyle = 3 // None
endwith
this.SOURCEFILEDISPLAYTEXT = new TEXT(this)
with (this.SOURCEFILEDISPLAYTEXT)
height = 14
left = 139
top = 64
width = 254
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "Source Crystal Report or Label File:"
pageno = 3
endwith
this.TARGETFILEDISPLAYTEXT = new TEXT(this)
with (this.TARGETFILEDISPLAYTEXT)
height = 14
left = 139
top = 109
width = 254
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "Target Visual dBASE 7 Report or Label File:"
pageno = 3
endwith
this.CONVERTPROGRESS = new PROGRESS(this)
with (this.CONVERTPROGRESS)
height = 20
left = 139
top = 177
width = 270
metric = 6 // Pixels
pageno = 3
value = 0
rangeMin = 0
rangeMax = 100
endwith
this.FINISHTEXT = new TEXT(this)
with (this.FINISHTEXT)
height = 36
left = 139
top = 28
width = 216
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "<p>Click Finish to convert your Crystal file...</p>"
pageno = 3
endwith
this.IMAGE6 = new IMAGE(this)
with (this.IMAGE6)
height = 13
left = 124
top = 28
width = 13
metric = 6 // Pixels
dataSource = "FILENAME Arrow.bmp"
alignment = 4 // True Size
pageno = 3
borderStyle = 3 // None
endwith
this.PROGRESSLABEL = new TEXT(this)
with (this.PROGRESSLABEL)
height = 16
left = 139
top = 159
width = 173
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "Progress"
pageno = 3
endwith
this.PROBLEMLISTBOX = new LISTBOX(this)
with (this.PROBLEMLISTBOX)
height = 135
left = 123
top = 72
width = 300
metric = 6 // Pixels
id = 133
fontSize = 8
colorHighLight = "HighLightText/HighLight"
pageno = 4
endwith
this.TARGETPATHLABEL = new TEXT(this)
with (this.TARGETPATHLABEL)
height = 42
left = 137
top = 120
width = 266
metric = 6 // Pixels
colorNormal = "BtnText"
fontSize = 8
text = "<p>Enter the path to the Report or Label file this Wizard will generate.</p><p></p>"